import request from "@/views/lending/utils/request";
export default{

    selectAll(){
        return request({
            url:`/bt/Auditor/select/selectAll`,
            method:'get'
        })
    },
    //selectOne：id查询
    selectOne(id){
        return request({
            url:`/bt/Auditor/select/selectOne/${id}`,
            method:'get'
        })
    },
    //updateStatusPass：审核通过状态更新，1-已审核
    updateStatusPass(id){
        return request({
            url:`/bt/Auditor/update/updateStatusPass/${id}`,
            method:'put'
        })
    },
    //updateStatusPass：审核通过状态更新，4-已驳回
    updateStatusReject(id,rejectReason){
        return request({
            url:`/bt/Auditor/update/updateStatusReject/${id}/${rejectReason}`,
            method:'put'
        })
    },
    //updateStatusPass：审核通过状态更新，3-已取消
    updateStatusCancel(id){
        return request({
            url:`/bt/Auditor/update/updateStatusCancel/${id}`,
            method:'put'
        })
    },
}


